package com.flyco.modules.fenxiao.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 全局分销员等级配置
 * @Author: flyco
 * @Date:   2020-07-07
 * @Version: V1.0
 */
@Data
@TableName("sys_dist_level")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sys_dist_level对象", description="全局分销员等级配置")
public class SysDistLevel {
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Long id;
	/**分销员等级名称*/
	@Excel(name = "分销员等级名称", width = 15)
    @ApiModelProperty(value = "分销员等级名称")
	private String distLevelName;
	/**门槛成长值*/
	@Excel(name = "门槛成长值", width = 15)
    @ApiModelProperty(value = "门槛成长值")
	private Integer thresholdGrowthValue;
	/**保底成长值（仅升降类型为保级方案时用）*/
	@Excel(name = "保底成长值（仅升降类型为保级方案时用）", width = 15)
    @ApiModelProperty(value = "保底成长值（仅升降类型为保级方案时用）")
	private Integer renewalGrowthValue;
	/**直接拉新分佣比例*/
	@Excel(name = "直接拉新分佣比例", width = 15)
    @ApiModelProperty(value = "直接拉新分佣比例")
	private java.math.BigDecimal directMemberPercent;
	/**间接拉新分佣比例*/
	@Excel(name = "间接拉新分佣比例", width = 15)
    @ApiModelProperty(value = "间接拉新分佣比例")
	private java.math.BigDecimal indirectMemberPercent;
	/**直接拉单分佣比例*/
	@Excel(name = "直接拉单分佣比例", width = 15)
    @ApiModelProperty(value = "直接拉单分佣比例")
	private java.math.BigDecimal directOrderPercent;
	/**间接拉单分佣比例*/
	@Excel(name = "间接拉单分佣比例", width = 15)
    @ApiModelProperty(value = "间接拉单分佣比例")
	private java.math.BigDecimal indirectOrderPercent;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;
}
